package hoang.hut.networkdemo.network;

public class WebServiceConfig {

public static final int NETWORK_TIMEOUT = 6000;
	
	//---------------------API ------------------------//
	public static final String HTTP = "http://";
	
	public static final String HTTPS = "https://";
	
	public static final String DOMAIN = HTTP + "aet.thetollroads.com/ws/v1/";
	
	public static final String API_GET_LOCATION_LIST = DOMAIN +  "payGo";
	
	public static final String API_SUBMIT_USER_INFO = DOMAIN + "payGo";

	// --------------------Params--------------------//
	public static final String PARAM_SUCCESS = "success";
	
	//for get location list
	/**
	 * tokenID=90f43e75b0d2ed4b9774792648ce4b87f957b580&action= loclist&toll_road=0&loc_id=0&timestamp=1321700334 
	 */
	
	public static final String PARAM_TOKEN_ID = "tokenID";
	
	public static final String PARAM_ACTION = "action";
	
	public static final String PARAM_TOLL_ROAD = "toll_road";
	
	public static final String PARAM_ROAD_NAME = "road_name";
	
	public static final String PARAM_LOC_ID = "loc_id";
	
	public static final String PARAM_LOC_NAME = "loc_name";
	
	public static final String PARAM_TIME_STAMP = "timestamp";
	
	public static final String PARAM_INFOR = "info";
	
	//----------------------Action --------------------//
	public static String ACTION_LOC_LIST = "loclist";
	public static String ACTION_USER_INFO = "userinfo";
}
